﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<raya.Models.oauth.oauth.OAuthInfo>" %>
<%@ Import Namespace="raya.Library"%>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<h1>Grant access to your private information?</h1>

<p>An application is requesting access to your information. You should only approve this request if you trust the application.</p>

<form action="<%=RayaSettings.Web_prefix%>/oauth/approveAuthorization" method="post">
 <input type="hidden" name="oauth_token" value="<%= HttpUtility.HtmlEncode(ViewData.Model.oauth_token) %>" />
 <input type="hidden" name="oauth_callback" value="<%= HttpUtility.HtmlEncode(ViewData.Model.oauth_callback) %>" />
 <input type="submit" value="Approve" />
 <input type="button" value="Decline" onclick="location.href='/'" />
</form>

<div style="clear: both"></div>
</asp:Content>
